<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a:link{ color: hotpink}/*未访问*/
        a:visited{ color: blue}/*访问过*/
        a:hover{ color: red}/*悬停*/
        a:active{ color: yellow}/*点击或激活*/
    </style>
</head>
<body>
    <a href="http://www.baidu.com">百度</a>
    <a href="http://www.douyin.com">抖音</a>
    <a href="http://www.bilibili.com">B站</a>
    <a href="http://www.jd.com">京东</a>
</body>
</html>